package com.bzkj.basicinfo.service.ncc;

import com.bzkj.basicinfo.domain.basic.vo.TreeSkuUnitVo;
import com.bzkj.basicinfo.domain.ncc.NccBasicUnit;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;

/**
 * @Author wangzhichao
 * @ClassName NccBasicUnitService
 * @Date 2024/12/10
 * @description ncc物料单位
 */

public interface NccBasicUnitService
{
    /**
     * 查询物料信息
     * @Author wangzhichao
     * @Date 2024/12/10 11:26:19
     */
    List<TreeSkuUnitVo> findNccBasicUnitData(NccBasicUnit entity);

    /**
     * 修改物料信息
     *
     * @Author wangzhichao
     * @Date 2024/12/10 15:14:59
     * @Param entity
     */
    AjaxResult nccBasicUnitUpdate(NccBasicUnit entity);

    /**
     * 新增物料信息
     * @Author wangzhichao
     * @Date 2024/12/10 16:49:25
     * @Param entity
     */
    AjaxResult nccBasicUnitSave(NccBasicUnit entity);

    AjaxResult deleteNccBasicUnit(String id);

    R findNccBasicUnitAll();

    R jobMethodExecute(Boolean flag);
}
